<template>
  <a-card :bordered="false" :style="{ marginTop: '12px',height:'395px' }">
    <span slot="title"> <a-icon type="tags" style="color:#3393FC;margin-right: 5px" theme="filled"/>我的申请</span>
    <a slot="extra" @click="loadMore('/bpm/task/MyApplyProcessList')">更多</a>
    <template>
      <my-apply-process-list ref="applyProcessList" @ok="processOk"></my-apply-process-list>
    </template>
  </a-card>
</template>

<script>
  import MyApplyProcessList from './MyApplyProcessList'

  export default {
    name: 'EoaCmsApplyProcess',
    components: {
      MyApplyProcessList,
    },
    methods: {
      loadMore(path){
        let query={}
        this.$router.push({ path: path,query:query})
      },
      processOk(){
        this.$refs.runTaskList.loadData();
        this.processUpdate=true;
      },
    }
  }
</script>

<style scoped>

</style>